package org.kealinghornets.nxtdroid;

import org.kealinghornets.nxtdroid.NXT.NXTThread;

/**
 * Created by chuah on 12/12/14.
 */
public class MyOtherOtherOtherNXTThread extends NXTThread{
    public MyOtherOtherOtherNXTThread () {setNXTThreadName("Tazer");}
    public void run() {
        runMotor(PORT_A,-75);
        runMotor(PORT_B, 75);
        wait(250);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(1000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        runMotor(PORT_A,75);
        runMotor(PORT_B,-75);
        wait(250);
        stopMotor(PORT_B);
        stopMotor(PORT_A);
        runMotor(PORT_A);
        runMotor(PORT_B);
        wait(1000);
        stopMotor(PORT_A);
        stopMotor(PORT_B);
        reset();

    }
}
